using SqlSugar;
using IM.Easy.Core.Audit;

namespace IM.Easy.Entity.System
{
    /// <summary>
    /// 功能快捷入口表
    /// </summary>
    [SugarTable("Shortcut", TableDescription = "快捷功能表")]
    public class Shortcut : IOrderable
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        [SugarColumn(ColumnName = "MenuId", IsPrimaryKey = true)]
        public long MenuId { get; set; }

        /// <summary>
        /// 所属人
        /// </summary>
        [SugarColumn(ColumnName = "Owner", IsPrimaryKey = true)]
        public long Owner { get; set; }

        /// <summary>
        /// 排序值
        /// </summary>
        [SugarColumn(ColumnName = "Order")]
        public int Order { get; set; }

    }
}
